import {getCartList} from "../api/cart/cart";

const actions = {
  async cartCount(context){
    const res = await getCartList()
    context.commit('cartCount',res.data.data.length)
    console.log(res,context)
  }
}

export default actions